
<%@page language="java" import="lq.book.bean.*" pageEncoding="UTF-8"%>
<link rel="stylesheet" type="text/css" href="css/header.css">
<div id="login">

<%User user0= (User)session.getAttribute("user");%>
<%if(user0!=null)
{ %>
    <font color="#55A3FF" size="2" color="#0066CC" ><%=user0.getUsername()%></font>
    <font color="#BCD6F8" size="2"  color="#0066CC"><a href="LogOutServlet">|注销</a></font>

<%} else{%>


<font size="2" color="black" >欢迎来到当当网</font>
<a  style="text-decoration:none"  href="CookieCheck" ><font size="2" color="#0066CC" >登录</font></a>
<a  style="text-decoration:none"  href="Register.jsp" ><font size="2" color="#0066CC" >注册</font></a>
<%}%>

</div>



<div  id="logo"><img src="img/dangdang.jpg"></div>

    <div id="search">
            <div style="float:left;width:150px"> 
                <img  id="imgzhonglei"  src="img/allgoods.png" /></div>
            <div style="width:394px;margin-top: 2px; float: left;">
                    <input type="text" size="60" style="border:1px solid #089AE7" >
             </div>
             
             <div style="float: left;width:90px;"><input type="image" src="img/search.png" ></div>
             <div style="margin-top: 5px;float: left;margin-left: 10px;">
              <font style="font-size: 10">热搜:</font>
              <a   href="http://www.badiu.com">Java编程思想</a>
               <a  href="http://www.badiu.com">钓鱼岛</a>
                <a  href="http://www.badiu.com">小日本</a>
             </div>
               
    </div>
    <div id="zhonglei"> 
    <ul>
       <li> 科幻 </li>
        <li> 励志 </li>
         <li>  自传</li>
     
    
     </ul>
    
    </div>
             
  
